package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.Vo.ProviderVo;
import com.khyr.entity.StockProvider;
import com.khyr.vo.R;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @InterfaceName: ProviderService
 * @author: Zyl
 * @date: 2025/3/12 20:42
 * @Version: 1.0
 * @description:
 */

public interface ProviderService {
    R<Page<StockProvider>> findProvider(ProviderVo data);

    R addProvider(ProviderVo data);

    R getProviderById(Integer providerId);

    R updateProvider(ProviderVo data);

    R deleteProviderByProviderIds(List<Integer> providerIds);

    R<List<StockProvider>> selectAllProvider();
}
